.refund-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 2rem;
}

.refund-page * {
  box-sizing: border-box;
}

.refund-navbar {
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}

.refund-container {
  padding: 0.4rem;
}

.refund-card {
  background: white;
  border-radius: 0.32rem;
  padding: 0.4rem;
  margin-bottom: 0.3rem;
  box-shadow: 0 0.05rem 0.2rem rgba(0,0,0,0.1);
}

.refund-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.refund-status-icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.3rem;
}

.refund-status-title {
  font-size: 0.48rem;
  font-weight: bold;
  color: #333;
}

.refund-order-info {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

.refund-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.refund-order-label {
  font-size: 0.36rem;
  color: #666;
}

.refund-order-value {
  font-size: 0.36rem;
  color: #333;
}

.refund-price {
  color: #ff4757;
  font-weight: bold;
}

.refund-reason-section {
  margin-bottom: 0.4rem;
}

.refund-reason-title {
  font-size: 0.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.3rem;
}

.refund-reason-input {
  width: 100%;
  min-height: 2rem;
  padding: 0.3rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.16rem;
  font-size: 0.36rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.refund-reason-input:focus {
  border-color: #ff4757;
}

.refund-photos-section {
  margin-bottom: 0.4rem;
}

.refund-photos-title {
  font-size: 0.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.3rem;
}

.refund-photos-upload {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.refund-photo-item {
  width: 2rem;
  height: 2rem;
  border: 2px dashed #ccc;
  border-radius: 0.16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
}

.refund-photo-item:hover {
  border-color: #ff4757;
  color: #ff4757;
}

.refund-photo-preview {
  width: 2rem;
  height: 2rem;
  border-radius: 0.16rem;
  object-fit: cover;
  cursor: pointer;
}

.refund-progress-container {
  background: white;
  border-radius: 0.32rem;
  padding: 0.4rem;
  margin-bottom: 0.3rem;
  box-shadow: 0 0.05rem 0.2rem rgba(0,0,0,0.1);
}

.refund-progress-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.refund-progress-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.3rem;
}

.refund-progress-title {
  font-size: 0.44rem;
  font-weight: bold;
  color: #333;
}

.refund-progress-steps {
  position: relative;
  padding-left: 0.5rem;
}

.refund-progress-step {
  position: relative;
  padding-bottom: 0.6rem;
}

.refund-progress-step:not(:last-child):before {
  content: '';
  position: absolute;
  left: 0.18rem;
  top: 0.6rem;
  width: 2px;
  height: 1rem;
  background: #e0e0e0;
}

.refund-progress-step.active:not(:last-child):before {
  background: #ff4757;
}

.refund-progress-dot {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: #e0e0e0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e0e0e0;
}

.refund-progress-step.active .refund-progress-dot {
  background: #ff4757;
  box-shadow: 0 0 0 2px #ff4757;
}

.refund-progress-content {
  margin-left: 0.8rem;
}

.refund-progress-step-title {
  font-size: 0.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.1rem;
}

.refund-progress-step.active .refund-progress-step-title {
  color: #ff4757;
}

.refund-progress-step-desc {
  font-size: 0.32rem;
  color: #666;
  margin-bottom: 0.1rem;
}

.refund-progress-step-time {
  font-size: 0.3rem;
  color: #999;
}

.refund-result-section {
  text-align: center;
  padding: 0.8rem 0;
}

.refund-result-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.4rem;
}

.refund-result-title {
  font-size: 0.52rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.refund-result-success {
  color: #52c41a;
}

.refund-result-failed {
  color: #ff4757;
}

.refund-result-desc {
  font-size: 0.36rem;
  color: #666;
  margin-bottom: 0.4rem;
}

.refund-result-amount {
  font-size: 0.44rem;
  font-weight: bold;
  color: #ff4757;
  margin-bottom: 0.6rem;
}





/* 商品状态选择器 */
.refund-status-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.4rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.12rem;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refund-status-selector:hover {
  border-color: #ff4757;
}

.refund-status-text {
  font-size: 0.36rem;
  color: #333;
  flex: 1;
}

.refund-status-arrow {
  font-size: 0.32rem;
  color: #999;
  transition: transform 0.3s ease;
}

/* 温馨提示区域 */
.refund-tip-section {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border: 1px solid #ffd6d6;
  border-radius: 0.32rem;
  padding: 0.4rem;
  margin-bottom: 0.3rem;
  box-shadow: 0 0.05rem 0.2rem rgba(255, 71, 87, 0.1);
}

.refund-tip-title {
  font-size: 0.4rem;
  font-weight: bold;
  color: #ff4757;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
}

.refund-tip-title::before {
  content: "⚠️";
  margin-right: 0.2rem;
  font-size: 0.36rem;
}

.refund-tip-content {
  font-size: 0.32rem;
  color: #666;
  line-height: 1.5;
}

/* 操作按钮区域 */
.refund-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 0.4rem;
  box-shadow: 0 -0.05rem 0.2rem rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 0.3rem;
  z-index: 100;
}

.refund-btn {
  flex: 1;
  height: 1.2rem;
  border: none;
  border-radius: 0.24rem;
  font-size: 0.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refund-btn-primary {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: white;
  box-shadow: 0 0.1rem 0.3rem rgba(255, 71, 87, 0.3);
}

.refund-btn-primary:hover {
  background: linear-gradient(135deg, #ff3742 0%, #ff2d3a 100%);
  transform: translateY(-0.02rem);
  box-shadow: 0 0.15rem 0.4rem rgba(255, 71, 87, 0.4);
}

.refund-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0.05rem 0.2rem rgba(255, 71, 87, 0.3);
}

.refund-btn-secondary {
  background: white;
  color: #666;
  border: 1px solid #e0e0e0;
}

.refund-btn-secondary:hover {
  background: #f8f8f8;
  border-color: #d0d0d0;
  color: #333;
}

.refund-btn-secondary:active {
  background: #f0f0f0;
}

/* 为底部按钮留出空间 */
.refund-page {
  padding-bottom: 2.4rem;
} 